projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f70c4e
)
(org-set-tags): Keep single space after stars.
author
Carsten Dominik
<dominik@science.uva.nl>
Mon, 3 Jul 2006 10:57:35 +0000
(10:57 +0000)
committer
Carsten Dominik
<dominik@science.uva.nl>
Mon, 3 Jul 2006 10:57:35 +0000
(10:57 +0000)
lisp/textmodes/org.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/org.el
b/lisp/textmodes/org.el
index 6a3fd27380a45e137800d0f6f054c9bf36cffdd8..79d526cbe7685c2c8b04bb392f89fac9c437a0a1 100644
(file)
--- a/
lisp/textmodes/org.el
+++ b/
lisp/textmodes/org.el
@@
-8713,6
+8713,8
@@
With prefix ARG, realign all tags in headings in the current buffer."
(if (equal tags "")
(save-excursion
(beginning-of-line 1)
+ (skip-chars-forward "*")
+ (if (= (char-after) ?\ ) (forward-char 1))
(and (re-search-forward "[ \t]+$" (point-at-eol) t)
(replace-match "")))
(move-to-column (max (current-column)